package com.oocl.db;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import com.oocl.server.UserThread;

public class Storager {
	private static Map<String, UserThread> currUserThreads = new ConcurrentHashMap<String, UserThread>();
	private static List<String> onlineUsers = Collections.synchronizedList(new ArrayList<String>());
	
	public static Map<String, UserThread> accessUserThreads(){
		return currUserThreads;
	}
	
	public static List<String> accessOnlineUsers(){
		return onlineUsers;
	}
}
